Verify a VISA CVV

Command:

Verify a VISA CVV.

Notes:

The command issue to verify Track 1 or Track 2 CVVs.

 

Field

Length & Type

Details

COMMAND MESSAGE

Message header

m A

(Subsequently returned to the Host unchanged).

Command code

2 A

Value CY.

CVK A / B

32H or 1A+32H

VISA CVK A / B encrypted under a variant 4 of LMK pair 14-15.

CVV

3 N

CVV for verification.

Primary account number

n N

The primary account number for the card.

Delimiter

1 A

Value “;”.

Expiration date

4 N

The card expiration data.

Service code

3 N

The card service code.

End message delimiter

1 C

Optional. Must be present if a message trailer is present. Value X’19.

Message trailer

n A

Optional. Maximum length 32 characters.

 RESPONSE MESSAGE

Message header

m A

Returned to the Host unchanged.

Command code

2 A

Value CZ.

Error code

2 N

00 : No errors

01 : CVV failed verification

10 : CVK A or B parity error

12 : No keys loaded in user storage

13 : LMK error; report to supervisor

15 : Error in input data

21 : Invalid user storage index

27 : CVK not double length

End message delimiter

1 C

Present only if present in the command message. Value X’19.

Message trailer

n A

Present only if present in the command message. Maximum length 32 characters.